import Vue from 'vue'
import Vuex from 'vuex'
//用户信息
import user from './modules/user.js'
//tabbar信息
import tabbar from './modules/tabbar.js'
//问题列表
import questionList from './modules/questionList.js'
//问题列表
import majorList from './modules/majorList.js'
//关注列表
import focusList from './modules/focusList.js'
Vue.use(Vuex)

const store = new Vuex.Store({
    modules:{
		user: user,
		tabbar: tabbar,
		questionList: questionList,
		majorList: majorList,
		focusList:focusList
	}
})
export default store
